package com.ltx.blog_bam.entity.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BlogInfo {
    private int blogId;
    private String blogTitle;       //博客标题
    private String blogNote;       //博客简介
    private String userName;             //userId
    private String userHead;             //用户头像
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;        //博客创建时间
}
